﻿<!DOCTYPE html>
<html>
<head>
    <meta charset=utf-8 />
    <title></title>
    <link href="../../Content/jquery-easyui-1.3.1/themes/icon.css" rel="stylesheet" />
    <link href="../../Content/jquery-easyui-1.3.1/themes/default/easyui.css" rel="stylesheet" />
    <link href="../../Content/Site.css" rel="stylesheet" />
    <script src="../../Content/jquery-easyui-1.3.1/jquery-1.8.0.min.js"></script>
    <script src="../../Content/jquery-easyui-1.3.1/jquery.easyui.min.js"></script>
    <script src="../../Content/jquery-easyui-1.3.1/locale/easyui-lang-zh_CN.js"></script>
    @*修改时间格式的Js文件*@
    <script src="../../Content/jquery-easyui-1.3.1/datapattern2.js"></script>

    <script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>

    <script type="text/javascript">
        var userid;


        $(function () {

            userid = $('#UserID').val();

            $("#tt").tree({
                url: '/UserInfo/InitUserTree?UserID=' + userid,
                lines: true

            });
        });

    </script>


</head>

<body>
    <h2>查看用户层级关系</h2>


    <div class="easyui-panel" style="padding:5px">
        <ul id="tt"></ul>
    </div>


    <input class="easyui-validatebox" id="UserID" name="UserID" value="@ViewBag.UserID" hidden="hidden" />


</body>

</html>











